package com.yanqu.road.entity.activity.summergames.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_activity_summergame_lottery")
public class SummerGamesLotteryInfo {

    @FieldTypeAnnotation(select = true, desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "id", orderASC = true)
    private int id;

    @FieldTypeAnnotation(desc = "权重")
    private int weight;

    @FieldTypeAnnotation(desc = "防欧")
    private String leastNum;

    @FieldTypeAnnotation(desc = "保底")
    private String guaranteesNum;

    @FieldTypeAnnotation(desc = "积分")
    private int score;

    @FieldTypeAnnotation(desc = "名次")
    private String name;

    @FieldTypeAnnotation(desc = "奖牌类型")
    private int medalsType;

    private List<Integer> leastNumMap = new ArrayList<>();

    private List<Integer> normalNumMap = new ArrayList<>();

    //缓存
    //配置的前n抽的保底
    private List<Integer> fixedNumMap = new ArrayList<>();

    private int fixedWeight;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getLeastNum() {
        return leastNum;
    }

    public void setLeastNum(String leastNum) {
        this.leastNum = leastNum;
    }

    public String getGuaranteesNum() {
        return guaranteesNum;
    }

    public void setGuaranteesNum(String guaranteesNum) {
        this.guaranteesNum = guaranteesNum;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMedalsType() {
        return medalsType;
    }

    public void setMedalsType(int medalsType) {
        this.medalsType = medalsType;
    }

    public List<Integer> getLeastNumMap() {
        return leastNumMap;
    }

    public void setLeastNumMap(List<Integer> leastNumMap) {
        this.leastNumMap = leastNumMap;
    }

    public List<Integer> getNormalNumMap() {
        return normalNumMap;
    }

    public void setNormalNumMap(List<Integer> normalNumMap) {
        this.normalNumMap = normalNumMap;
    }

    public List<Integer> getFixedNumMap() {
        return fixedNumMap;
    }

    public void setFixedNumMap(List<Integer> fixedNumMap) {
        this.fixedNumMap = fixedNumMap;
    }

    public int getFixedWeight() {
        return fixedWeight;
    }

    public void setFixedWeight(int fixedWeight) {
        this.fixedWeight = fixedWeight;
    }
}
